package com.xtkj.superclub_entity.entity.activity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain=true)
@ToString
@TableName("activity_comments_reply")
public class ActivityCommentReply implements Serializable {

    @TableId(value = "activity_reply_id",type = IdType.INPUT)
    private String activityReplyId;//回复评论的id
    private String activityReply;//回复的内容
    private String activityCommentId;//回复哪条评论
    private String userId;//谁回复的
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;//最后修改时间

}
